package com.ckzp.jfinal.plugins.trans;

import cn.hutool.core.util.NumberUtil;
import cn.hutool.core.util.StrUtil;
import com.ckzp.core.util.StringUtil;

import java.io.Serializable;

/**
 * Created by 51594 on 2022/7/28.
 */
public class TransData implements Serializable {

    public String title = "";

    public String value = "";

    public String disabled = "";

    public String checked = "";

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getValue() {
        return value;
    }


    public int getValueInt() {
        return StringUtil.getInt(value, 0);
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getDisabled() {
        return disabled;
    }

    public void setDisabled(String disabled) {
        this.disabled = disabled;
    }

    public String getChecked() {
        return checked;
    }

    public void setChecked(String checked) {
        this.checked = checked;
    }
}
